package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 出库管理对象 dxm_chuku
 * 
 * @author 丁宪明
 * @date 2024-02-26
 */
public class DxmChuku extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    @Excel(name = "主键")
    private Long id;

    /** 姓名 */
    @Excel(name = "姓名")
    private String name;
    /** 单价 */
    @Excel(name = "应收")
    private BigDecimal heji;

    @Excel(name = "实收")
    private BigDecimal shishou;

    /** 是否支付 */
    @Excel(name = "是否支付")
    private String ispay;

    /** 购买时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "购买时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date buyTime;

    private String delFlag;

    /** $table.subTable.functionName信息 */
    private List<DxmChukuDetail> dxmChukuDetailList;


    public String getDelFlag() {
        return delFlag;
    }

    public void setDelFlag(String delFlag) {
        this.delFlag = delFlag;
    }

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }

    public void setIspay(String ispay) 
    {
        this.ispay = ispay;
    }

    public String getIspay() 
    {
        return ispay;
    }
    public void setBuyTime(Date buyTime) 
    {
        this.buyTime = buyTime;
    }

    public Date getBuyTime() 
    {
        return buyTime;
    }

    public List<DxmChukuDetail> getDxmChukuDetailList()
    {
        return dxmChukuDetailList;
    }

    public void setDxmChukuDetailList(List<DxmChukuDetail> dxmChukuDetailList)
    {
        this.dxmChukuDetailList = dxmChukuDetailList;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public BigDecimal getHeji() {
        return heji;
    }

    public void setHeji(BigDecimal heji) {
        this.heji = heji;
    }

    public BigDecimal getShishou() {
        return shishou;
    }

    public void setShishou(BigDecimal shishou) {
        this.shishou = shishou;
    }


    @Override
    public String toString() {
        return "DxmChuku{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", heji=" + heji +
                ", shishou=" + shishou +
                ", ispay='" + ispay + '\'' +
                ", buyTime=" + buyTime +
                ", dxmChukuDetailList=" + dxmChukuDetailList +
                '}';
    }
}
